function f = dixmaanG(x)
%DIXMAANG  Function   
%x0=[2.,2.,2...,2.]...  
%fmin=n/2,m=20

n=length(x);
alpha=1.0;beta=0.125;
gamma=0.125;delta=0.125;
k1=1;k2=0;k3=0;k4=1;
m=n/3;
f=1.0;
for i=1:n
f=f+alpha*x(i)*x(i)*(i/n)^k1;
end
for i=1:n-1
    f=f+beta*x(i)*x(i)*(x(i+1)+x(i+1)*x(i+1))*(i/n)^k2;
end 
for i=1:2*m
    f=f+gamma*x(i)*x(i)*(x(i+m)^4)*(i/n)^k3;
end 
for i=1:m
    f=f+delta*x(i)*x(i+2*m)*(i/n)^k4;
end

